<?php

namespace app\controller\admin\potter;

use app\model\api\PeaceRecord;
use app\model\api\PotterQuestion;
use laytp\controller\Backend;
use think\facade\Db;

/**
 * Class Question
 * @package app\controller\admin\peace
 */
class Question extends Backend
{
    /**
     * api_log模型对象
     * @var \app\model\api\Log
     */
    protected $model;
    protected $hasSoftDel=0;//是否拥有软删除功能

    protected $noNeedLogin = []; // 无需登录即可请求的方法
    protected $noNeedAuth = ['index', 'info']; // 无需鉴权即可请求的方法

    public $orderRule = ['id' => 'asc'];

    public function _initialize()
    {
        $this->model = new PotterQuestion();
    }

}